home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <html><head><title>GetProcessServiceManager Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03131700"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
-
- p.P1{
- }
- p.P2{
- }
- span.T1{
- font-weight:bold;}
- </style></head><body>
-
-
- <help:to-be-embedded Eid="getprocessservicemanager" xmlns:help="http://openoffice.org/2000/help">
- <p class="Head1"><help:link Id="68577">GetProcessServiceManager Function [Runtime]</help:link></p>
- <p class="Paragraph">Returns the ProcessServiceManager (central Uno ServiceManager).<help:key-word value="ProcessServiceManager" tag="kw68577_1"/></p>
- </help:to-be-embedded>
- <p class="Paragraph">Needed when a service must be instanciated using CreateInstanceWithArguments.</p>
- <p class="Paragraph"><span class="T1">Syntax</span>:</p>
- <p class="Paragraph">oServiceManager = GetProcessServiceManager()<help:key-word value="GetProcessServiceManager" tag="kw68577_2" xmlns:help="http://openoffice.org/2000/help"/></p>
- <p class="P2">Example:</p>
- <p class="PropText">oServiceManager = GetProcessServiceManager()</p>
- <p class="PropText">oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");</p>
- <p class="PropText"/>
- <p class="PropText">this is the same as the following statement:</p>
- <p class="PropText"/>
- <p class="PropText">oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")</p>
- </body></html>